import MsuiForm from './msui-base-components/msui-form.vue'
import MsuiFormModel from './msui-model/msui-form-model'

import MsuiDatagrid from './msui-base-components/msui-datagrid.vue'
import MsuiDatagridModel from './msui-model/msui-datagrid-model'

const components = [
  MsuiForm,
  MsuiDatagrid
]

export default class Msui {
  static install(app: any) {
    components.forEach((item) => {
      app.component(item.name, item)
    })
  }
}
export { MsuiFormModel, MsuiDatagridModel }